﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="product_allask.aspx.cs"
    Inherits="V5_EShop._Template.Default.product_allask" %>

<%@ Import Namespace="V5_Common" %>
<%@ Register Src="Controls/getHeader2.ascx" TagName="getHeader2" TagPrefix="mm" %>
<%@ Register Src="Controls/getDismode.ascx" TagName="getDismode" TagPrefix="mm" %>
<%@ Register Src="Controls/getFooter.ascx" TagName="getFooter" TagPrefix="mm" %>
<%@ Register Src="Controls/getUserBrowseProductList.ascx" TagName="getUserBrowseProductList"
    TagPrefix="mm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/<%=TemplatePath %>/css/Allask.css" rel="stylesheet"
        type="text/css" />
    <link href="/<%=TemplatePath %>/css/init.css" rel="stylesheet" type="text/css" />
    <link href="/<%=TemplatePath %>/css/head.css" rel="stylesheet" type="text/css">
    <meta name="author" content="美工：吕玲" />
    <title>
        <%=product.ProductName %>-查看全部问题</title>
</head>
<body>
    <div id="page">
        <mm:getHeader2 ID="Header1" runat="server" />
        <div class="content">
            <a href="Integral.aspx">
                <img height="80" src="/<%=TemplatePath %>/images/AllComments/banner.gif"
                    width="950"></a>
            <div class="left">
                <div class="Merchandise">
                    <a href="/product-details-<%=product.ID %>.aspx" class="a_01">
                        <img src="<%=product.ProductBigPic %>" width="150" height="205" /></a><a href="/product-details-<%=product.ID %>.aspx"
                            class="gray"><%=product.ProductName %></a><br />
                    <a class="gray_no">市场价：￥<%=product.ProductMarketPrice %></a><span class="red">团购价：￥<%=product.ProductMemberPrice %></span>
                    <input type="button" name="button" id="button" value="" class="button01" />
                    <input type="button" name="button2" id="button2" value="" class="button02" onclick="location.href='/member/Temporary.aspx?productid=<%=product.ID %>'" />
                </div>
                <ul class="ul04">
                    <h2>
                        我浏览过的商品</h2>
                    <mm:getUserBrowseProductList ID="getUserBrowseProductList" runat="server" />
                    <div class="clear">
                    </div>
                </ul>
            </div>
            <form id="form1" runat="server">
            <div class="right">
                <div class="right_top">
                    <strong class="name">查看全部问答：<%=product.ProductName %></strong> <span class="date">问答时间：<select
                        name="select" id="select">
                        <option>最新问答</option>
                        <option>最早问答</option>
                    </select></span>
                    <input type="button" name="button3" id="button3" value="" class="button03" onclick="location.href='/product-ask.aspx?productid=<%=product.ID %>'" />
                </div>
                <div class="clear">
                </div>
                <!-- 问答-->
                <ul class="ul_01">
                    <li class="li_01">问题</li>
                    <li class="li_02">回答数量</li>
                    <li class="li_03">回答时间</li>
                </ul>
                <div class="clear">
                </div>
                <asp:Repeater ID="rpList" runat="server">
                    <ItemTemplate>
                        <ul class="ul_02">
                            <li class="li_011"><a href="Product-Answer.aspx?ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID") %>&askid=<%#DataBinder.Eval(Container.DataItem,"id") %>">
                                <%#DataBinder.Eval(Container.DataItem,"AskTitle") %></a></li>
                            <li class="li_022">
                                <%# Get_AskCount( DataBinder.Eval(Container.DataItem,"ID") )%></li>
                            <li class="li_033">
                                <%#DataBinder.Eval(Container.DataItem,"AddDateTime") %></li>
                            <div class="clear">
                            </div>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
                <!-- 问答-->
                <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML=""
                    FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                    OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20"
                    PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                    TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到">
                </webdiyer:AspNetPager>
            </div>
            </form>
        </div>
        <%--网站底部--%>
        <mm:getFooter ID="getFooter1" runat="server" />
    </div>
</body>
</html>
